home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / util / libs / ReqToolsLib.lha / ReqToolsLib / Source / reqtools / rtscreentofrontsafely.c < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-02  |  1.5 KB  |  75 lines

  1.  
  2. /*
  3.     (C) 1999 AROS - The Amiga Research OS
  4.     $Id: rtscreentofrontsafely.c,v 1.5 2001/04/12 09:11:47 iaint Exp $
  5.  
  6.     Desc:
  7.     Lang: English
  8. */
  9.  
  10. #include <exec/types.h>
  11. #include <proto/exec.h>
  12. #include <proto/reqtools.h>
  13. #include <proto/intuition.h>
  14. #include <exec/libraries.h>
  15. #include <exec/memory.h>
  16. #include <aros/libcall.h>
  17. #include "general.h"
  18. #include "reqtools_intern.h"
  19. #include "rtfuncs.h"
  20.  
  21. /*****************************************************************************
  22.  
  23.     NAME */
  24.  
  25.     AROS_LH1(VOID, rtScreenToFrontSafely,
  26.  
  27. /*  SYNOPSIS */
  28.  
  29.     AROS_LHA(struct Screen *, screen, A0),
  30.  
  31. /*  LOCATION */
  32.  
  33.     struct ReqToolsBase *, ReqToolsBase, 23, ReqTools)
  34.  
  35. /*  FUNCTION
  36.     Brings the specified screen to the front of the display, but only after
  37.     checking it is still in the list of currently open screens.
  38.  
  39.     This function can be used to bring a screen back to the front of the
  40.     display after bringing another screen to the front.  If the first screen
  41.     closed while you where busy it is harmless to call this function, unlike
  42.     calling the normal ScreenToFront().
  43.  
  44.     INPUTS
  45.     screen  --  pointer to the screen
  46.  
  47.     RESULT
  48.     none
  49.  
  50.     NOTES
  51.     This function is for the advanced ReqTools user.
  52.  
  53.     EXAMPLE
  54.  
  55.     BUGS
  56.     none known
  57.  
  58.     SEE ALSO
  59.  
  60.     intuition.library/ScreenToFront()
  61.  
  62.     INTERNALS
  63.  
  64.     HISTORY
  65.  
  66. ******************************************************************************/
  67. {
  68.     AROS_LIBFUNC_INIT
  69.  
  70.     RTFuncs_ScreenToFrontSafely(screen);
  71.     
  72.     AROS_LIBFUNC_EXIT
  73.     
  74. } /* rtScreenToFrontSafely*/
  75.